{{-- 模板名字 --}}
@extends('Layout/HomeBase')



{{-- 页面名字 --}}
@section('title', '商城主页')




{{-- 加载css文件 --}}
@section('css')

<link href="{{asset('Home/css/hmstyle.css')}}" rel="stylesheet" type="text/css" />



	<link href="{{asset('Home/css/amazeui.css')}}" rel="stylesheet" type="text/css" />
	<link href="{{asset('Home/css/demo.css')}}" rel="stylesheet" type="text/css" />
	<link href="{{asset('Home/css/cartstyle.css')}}" rel="stylesheet" type="text/css" />
	<link href="{{asset('Home/css/optstyle.css')}}" rel="stylesheet" type="text/css" />



@endsection




{{-- 网页主体 --}}
@section('main')
<div class="concent">
	<div id="cartTable">
		<div class="cart-table-th">
			<div class="wp">
				<div class="th th-chk">
					<div id="J_SelectAll1" class="select-all J_SelectAll"></div>
				</div>
				<div class="th th-item">
					<div class="td-inner">商品信息</div>
				</div>
				<div class="th th-price">
					<div class="td-inner">单价</div>
				</div>
				<div class="th th-amount">
					<div class="td-inner">数量</div>
				</div>
				<div class="th th-sum">
					<div class="td-inner">金额</div>
				</div>
				<div class="th th-op">
					<div class="td-inner">操作</div>
				</div>
			</div>
		</div>
		@foreach($data as $v)
		<tr class="item-list">

			<div class="bundle  bundle-last ">
				<div class="bundle-main">
					<ul class="item-content clearfix">
						<li class="td td-item">
							<div class="item-pic">
								<a href="#" target="_blank" data-title="{{$v['shop_name']}}" class="J_MakePoint" data-point="tbcart.8.12">
									<img src="../images/kouhong.jpg_80x80.jpg" class="itempic J_ItemImg"></a>
							</div>
							<div class="item-info">
								<div class="item-basic-info">
									<a href="#" target="_blank" title="{{$v['shop_name']}}" class="item-title J_MakePoint" data-point="tbcart.8.11">{{$v['shop_name']}}</a>
								</div>
							</div>
						</li>
						<li class="td td-info">
							<div class="item-props item-props-can">
								<span class="sku-line">颜色：10#蜜橘色</span>
								<span class="sku-line">包装：两支手袋装（送彩带）</span>

							</div>
						</li>
						<li class="td td-price">
							<div class="item-price price-promo-promo">
								<div class="price-content">
									<div class="price-line">
										<em class="price-original">78.00</em>
									</div>
									<div class="price-line">
										<em class="J_Price price-now" tabindex="0">{{$v['shop_money']}}</em>
									</div>
								</div>
							</div>
						</li>
						<li class="td td-amount">
							<div class="amount-wrapper ">
								<div class="item-amount ">
									<div class="sl">
										<input class="min am-btn" name="" type="button" value="-" />
										<input class="text_box" name="" type="text" value="{{$v['shop_mun']}}" style="width:30px;" />
										<input class="add am-btn" name="" type="button" value="+" />
									</div>
								</div>
							</div>
						</li>
						<li class="td td-sum">
							<div class="td-inner">
								<em tabindex="0" class="J_ItemSum number">{{$v['shop_mun']*$v['shop_money']}}</em>
							</div>
						</li>
						<li class="td td-op">
							<div class="td-inner">
								<a title="移入收藏夹" class="btn-fav" href="#">
						移入收藏夹</a>
								<a href="javascript:;" data-point-url="#" class="delete">
						删除</a>
							</div>
						</li>
					</ul>
				</div>
			</div>

			@endforeach
		</tr>
	</div>
	<div class="clear"></div>
		<div class="float-bar-right">

			<div class="price-sum">
				<span class="txt">合计:</span>
				<strong class="price">¥<em id="J_Total">{{$money}}</em></strong>
			</div>

			<div class="btn-area">
				<a href="{{url('/pay')}}" id="J_Go" class="submit-btn submit-btn-disabled" aria-label="请注意如果没有选择宝贝，将无法结算">
					<span>结&nbsp;算</span></a>
			</div>
		</div>

	</div>


	</div>

</div>

<!--操作页面-->


@endsection



{{-- 页脚JS代码 --}}
@section('bottom-js')

	<script type="text/javascript" src="{{asset('Home/js/jquery.css')}}"></script>
@endsection
